<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>新增访客</h5>
                <div class="ibox-tools" style="top:10px;">
<!--                    <button type="button" v-if="viewVisitInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectAppInfoModel()">-->
<!--                        <i class="glyphicon glyphicon-search"></i> 选择访客</button>-->

                    <button type="button" v-if="viewVisitInfo.index == 0 && viewVisitInfo.needShowAddAppButton== 'true'" class="btn btn-primary btn-sm" v-on:click="_openAddVisitInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加访客</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">访客姓名：</label>
                            <label class="">{{viewVisitInfo.vName}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >访客联系方式：</label>
                            <label class="">{{viewVisitInfo.phoneNumber}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >访客性别：</label>
                            <label class="">{{viewVisitInfo.visitGender=="0"?"男":"女"}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">

                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >开始时间：</label>
                            <label class="">{{viewVisitInfo.visitTime}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >结束时间：</label>
                            <label class="">{{viewVisitInfo.departureTime}}</label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

<!--    <vc:create name="addApp"-->
<!--               callBackListener="viewVisitInfo"-->
<!--               callBackFunction="chooseApp"-->
<!--    ></vc:create>-->

    <vc:create name="addVisit"
               callBackListener="viewVisitInfo"
               callBackFunction="addNewVisit"
    ></vc:create>
<!--    <vc:create name="chooseApp"-->
<!--               emitChooseApp="viewVisitInfo"-->
<!--               emitLoadData="viewVisitInfo"-->
<!--    ></vc:create>-->
</div>